/**
 * Created by IntelliJ IDEA.
 * User: GuoDapeng
 * Date: 15/8/23
 * Time: 上午9:17
 */

var NotificationMessenger = {
    notify: function (title, body) {
        return cordova.exec(null, null, 'StatusBarNotification', 'notify', [title, body]);
    },
    clear : function () {
        return cordova.exec(null, null, 'StatusBarNotification', 'clear', []);
    }
};